projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b781e9
)
* xdisp.c (produce_glyphless_glyph): Make a pointer "const"
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 6 Mar 2011 08:14:14 +0000
(
00:14
-0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 6 Mar 2011 08:14:14 +0000
(
00:14
-0800)
since it might point to immutable storage.
src/ChangeLog
patch
|
blob
|
history
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 5dd7a774ddbc0e652017b8e06d5e0c39b49e3622..0ebc363f45170a8071b3ae9b794408a409ce5e59 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-9,6
+9,8
@@
(mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame):
Rename or move local decls.
* xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var.
+ (produce_glyphless_glyph): Make a pointer "const"
+ since it might point to immutable storage.
2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 8cdb590ae9e2934a347dce0eac7cc01f63ccc5ab..818c4c36e529a6f38268e37f6fd8d67e330ef549 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-22267,7
+22267,8
@@
produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
}
else
{
- char buf[7], *str;
+ char buf[7];
+ const char *str;
unsigned int code[6];
int upper_len;
int ascent, descent;